Skip to main content

Add Destination

Route

/v2/streaming/destinations

Description

Create a new streaming destination with the provided configuration. Destinations define where streaming data is sent.

Method

POST

Inputs

ParameterTypeRequiredDescription
namestringYesHuman-readable name for the destination
descriptionstringNoDetailed description of the destination
formatstringYesData format (json_lines, json)
typestringYesDestination type (https)
encodingstringNoData encoding (gzip, encoding_unspecified)
https_configobjectYesHTTPS destination configuration

HTTPS Config Object

ParameterTypeRequiredDescription
uristringYesTarget URI for the HTTPS destination
ignore_ssl_errorsbooleanNoWhether to ignore SSL certificate errors
usernamestringNoUsername for basic authentication
passwordstringNoPassword for basic authentication
http_headersobjectNoAdditional HTTP headers to send

Request Body

{
"name": "Security SIEM",
"description": "Primary security information and event management system",
"format": "json_lines",
"type": "https",
"encoding": "gzip",
"https_config": {
"uri": "https://siem.company.com/api/events",
"ignore_ssl_errors": false,
"username": "api_user",
"password": "secure_password",
"http_headers": {
"X-API-Key": "your-api-key",
"Content-Type": "application/json"
}
}
}

Output

FieldTypeDescription
resourcesarray[Destination]Array containing the created destination
errorsarray[Error]Any errors encountered

Rate Limit

  • 60 requests per minute per API key
  • 5 concurrent requests per endpoint

Example Response

{
"resources": [
{
"id": "dest-789",
"name": "Security SIEM",
"description": "Primary security information and event management system",
"format": "json_lines",
"type": "https",
"encoding": "gzip",
"https_config": {
"uri": "https://siem.company.com/api/events",
"ignore_ssl_errors": false,
"http_headers": {
"X-API-Key": "your-api-key",
"Content-Type": "application/json"
}
}
}
],
"errors": []
}